home *** CD-ROM | disk | FTP | other *** search
/ GKGM 014 / GKGM014.iso / hentai / Sexy Japan Girl.swf / scripts / DefineSprite_964 / frame_182 / DoAction.as
Text File  |  2006-12-20  |  374b  |  19 lines

  1. _parent.girlstate = 0;
  2. _parent.girlmove = 0;
  3. switchRandom = Math.floor(Math.random() * 3);
  4. if(switchRandom == 0)
  5. {
  6.    this.gotoAndPlay("lv1_1");
  7. }
  8. else if(switchRandom == 1)
  9. {
  10.    this.gotoAndPlay("lv1_2");
  11. }
  12. else if(switchRandom == 2)
  13. {
  14.    _parent.girlstate = 1;
  15.    _parent.girlmove = 1;
  16.    this.gotoAndPlay("lv1_3");
  17. }
  18. _parent.gotoAndPlay("foreverPlay");
  19.